<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>POP3::pRetr()</title>
<style>
body, pre {
	font-family: Verdana;
	font-size: 10pt;
}
a {	color: blue; text-decoration: none }
a:hover { text-decoration: underline }
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<pre>
<hr color="white">
POP3 :: <i>mixed</i> <b>pretr</b> ( <i>resource</i> connection, <i>integer</i> message )
<hr>
Return <i>string</i> MESSAGE SOURCE if has been successfully received, <i>boolean</i> FALSE if not.

Send "RETR" POP3 command to get <i>integer</i> message source. Retrieve the message.

Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
// connect to 'pop.hostname.tld'
$c = POP3::Connect('pop.hostname.tld', 'username', 'password') or die(print_r($_RESULT));

// get the source of the old mail message
$r = POP3::pRetr($c, 1) or die(print_r($_RESULT));

// disconnect from server
POP3::Disconnect($c);

// print result
echo $r;
</code></pre>
</td></tr>
</table>

<hr color="white">

See Also: <a href="pstat.html">POP3::pStat()</a>, <a href="plist.html">POP3::pList()</a>

[ <a href="mail&#116;&#111;:contact&#064;xpertmailer.com?subject=Comment POP3 pRetr">Comments</a> ]

Last update: Thursday, September 27, 2007

<hr>
</pre>

</body>
</html>